﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

//协议消息
public class GameMsg
{
    private short code;
    private ByteBuffer content;

    public GameMsg(short code, ByteBuffer content) {
        this.code = code;
        this.content = content;
    }

    public GameMsg()
    {
    }

    public short Code { set { code = value; } get { return code; } }
    public ByteBuffer Content { set { content = value; } get { return content; } }

}
